package com.yuwenxin.service;

import com.yuwenxin.bean.User;

public interface UserService {
    User login(User user) throws Exception;
    User register(User user) throws Exception;
    int changePassword(User user) throws Exception;
    int userUpdate(User user) throws Exception;
    User forgetPassword(User user);
    User addFriend(User user);
    User headPhotoUpload(User user);
    User findUserByName(String name) throws Exception;
}
